import request from '@/utils/request'

// 查询标准规范复审列表
export function listReexamine(query) {
  return request({
    url: '/standard/reexamine/list',
    method: 'get',
    params: query
  })
}

// 查询标准规范复审详细
export function getReexamine(sid) {
  return request({
    url: '/standard/reexamine/' + sid,
    method: 'get'
  })
}

// 新增标准规范复审
export function addReexamine(data) {
  return request({
    url: '/standard/reexamine',
    method: 'post',
    data: data
  })
}

// 修改标准规范复审
export function updateReexamine(data) {
  return request({
    url: '/standard/reexamine',
    method: 'put',
    data: data
  })
}

// 删除标准规范复审
export function delReexamine(sid) {
  return request({
    url: '/standard/reexamine/' + sid,
    method: 'delete'
  })
}

// 导出标准规范复审
export function exportReexamine(query) {
  return request({
    url: '/standard/reexamine/export',
    method: 'get',
    params: query
  })
}